package service

import (
	"net/http"
	"template/server/http/pkg/model/response"

	"github.com/gin-gonic/gin"
)

// PingExample godoc
// @Summary ping example
// @Schemes
// @Description do ping
// @Tags /v1/status
// @Accept json
// @Produce json
// @Success 200 {object} response.Response "Success"
// @Router /v1/status/ping [get]
func Ping(c *gin.Context) {
	c.JSON(http.StatusOK, response.Response{
		Message: "success",
		Data:    "pong",
		Code:    200,
	})
}
